package com.example.leetcode.sort;

import com.example.leetcode.sort.common.SortUtils;

import java.util.Arrays;

class Solution2418 {
    public String[] sortPeople(String[] names, int[] heights) {
        return SortUtils.sortPeople(names, heights);
    }
}

public class leetcode2418 {
    public static void main(String[] args) {
        Solution2418 solution2418 = new Solution2418();
        String[] names = {"Mary", "John", "Emma"};
        int[] heights = {180, 165, 170};
        System.out.println(Arrays.toString(solution2418.sortPeople(names, heights)));
    }
}
